package models;

import play.db.jpa.Model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Факультет, курс, специальность
 *
 * User: Администратор
 * Date: 11.06.12
 * Time: 16:08
 * To change this template use File | Settings | File Templates.
 */
@Entity
@Table(name = "faculty_course_specialty")
public class FacultyCourseSpecialty extends Model {

    @Column(length = 4)
    public Integer faculty;

    @Column(length = 4)
    public Integer course;

    @Column(length = 8)
    public Integer specialty;

    public FacultyCourseSpecialty(Integer faculty, Integer course, Integer specialty) {
        this.faculty = faculty;
        this.course = course;
        this.specialty = specialty;
    }

}
